package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.sc.nft.sup.SuperEntity;
import java.math.BigDecimal;

import jnr.ffi.annotations.In;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.web3j.abi.datatypes.Int;

/**
 * 用户生态共识度表(sc_user_collection_consensus)实体类
 *
 * @author zxy
 * @since 2024-09-11 14:15:00
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_user_collection_consensus")
public class UserCollectionConsensus extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户Id
     */
    private Long userId;
    /**
     * 生态藏品Id
     */
    private Long collectionId;
    /**
     * 共识度数量
     */
    private BigDecimal consensusNum;

    /**
     * 乐观锁
     */
    @Version
    private Integer version;

}